package com.tarim.streetdance.service;

import com.tarim.streetdance.model.Article;
import com.tarim.streetdance.vo.Criteria;
import com.tarim.streetdance.vo.PageBean;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

public interface ArticleService {
    //新增
    int insertSelective(Article record);

    //更新
    int updateByPrimaryKeySelective(Article record);

    //分页查询
    PageBean<Article> selectByCondition(Criteria criteria, PageBean<Article> pageBean);
}